package org.jeecg.modules.paycenter.channel.zzbank.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 郑州银行账号
 * </p>
 *
 * @author Yangqf
 * @since 2023-04-11
 */
@Getter
@Setter
@TableName("hy_zzbank_account")
@ApiModel(value = "郑州银行账号对象", description = "郑州银行账号")
public class HyZzbankAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("1系统用户 2 货主 3 货主子账号  4 司机 5车队长")
    @TableField("utype")
    private String utype;

    @ApiModelProperty("根据utype=2货主id；=4司机id；=5车队长id")
    @TableField("uid")
    private String uid;

    @ApiModelProperty("主账号")
    @TableField("main_account")
    private String mainAccount;

    @ApiModelProperty("清分台账编码--302+五位公司码+六位序列号")
    @TableField("sub_account")
    private String subAccount;

    @ApiModelProperty("清分台账编码别名")
    @TableField("sub_account_name")
    private String subAccountName;

    @ApiModelProperty("清分台账编码状态--N 正常 C 删除")
    @TableField("state")
    private String state;

    @ApiModelProperty("最后维护日期")
    @TableField("last_modify_date")
    private String lastModifyDate;

    @ApiModelProperty("内部计息标志-----Y-是 N-否")
    @TableField("interest_flag")
    private String interestFlag;

    @ApiModelProperty("内部计息周期-----D-按日 M-按月 Q-按季 Y-按年")
    @TableField("settle_interest_cycle")
    private String settleInterestCycle;

    @ApiModelProperty("计息利率")
    @TableField("rate")
    private String rate;

    @ApiModelProperty("清分台账编码序号")
    @TableField("seq_no")
    private String seqNo;


    @ApiModelProperty("主账号名称")
    @TableField("main_account_name")
    private String mainAccountName;

    //逻辑字段
    @TableField(exist = false)
    private String amt;
}
